﻿#ifndef POSTCOMMAND_CmdPolarCoordinateGraphSidebarDataOperationChanged_H
#define POSTCOMMAND_CmdPolarCoordinateGraphSidebarDataOperationChanged_H

#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdPolarCoordinateGraphSidebarDataOperationChanged : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdPolarCoordinateGraphSidebarDataOperationChanged();
        ~CmdPolarCoordinateGraphSidebarDataOperationChanged();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setPolarCoordinateGraphSidebarDataOperationChanged(int mainWindowId, bool isNormChecked, bool isDBChecked);

    private:
        int m_mainWindowId;
        bool m_isNormChecked;
        bool m_isDBChecked;
    };
} // namespace PostCommand

#endif
